// register注册小仓库
import { register } from '../../../Api/index.js'
const registerAbout = {
  namespaced: true,
  actions: {
    async register ({ commit }, value) {
      const result = await register(value)
      console.log(result)
      commit('REGISTER', result)
    }
  },
  mutations: {
    REGISTER (state, value) {
      state.registerStatus = value
    }
  },
  state: {
    registerStatus: {}
  }
}
export default registerAbout
